<p class="usermessage" style="text-align: justify">{$lang.newusermsg}</p>

<center>

<form method="post" id="newuser_form" class="box_form">
 <input type="hidden" name="flowid" id="flowid" value="{$flowid}">
 <input type="hidden" name="action" id="action" value="newuser">
 <input type="hidden" name="op" id="op" value="newuser">

 <table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td>{$lang.mail}</td>
   		<td><input type="text" size="50" maxlength="50" name="newmail" id="newmail" class="txt" value="{$param.newmail}"></td>
    </tr>
	{if $CURRENT_USER->groupid eq 'ADMIN'}
	<tr>
		<td>{$lang.team}</td>
	   	<td>
			<select name="newteam" id="newteam" class="txt">
				{foreach from=$teamlist item=op}
					<option value="{$op->id}" {if $op->id eq $param.newteam} selected {/if}>{$op->name}</option>
				{/foreach}
			</select>
	   	</td>
	</tr>
	{else}
		<input type="hidden" name="newteam" id="newteam" value="{$CURRENT_USER->teamid}"/>
	{/if}
   <tr>
   	<td>&nbsp;</td>
 	<td align="right">{include file="button.tpl" name=$lang.ok action="processForm('newuser_form')"}</td>
   </tr>
 </table>
</form>

</center>

<p class="usermessage" style="text-align: justify">{$lang.newusermsg2}</p>
